package com.partner.sys.attach.core.mapper;

import com.partner.common.core.dto.MechanismDTO;
import com.partner.common.core.dto.MechanismIds;
import com.partner.common.core.repository.IMapper;
import com.partner.common.dto.partner.SysAttachMainVO;
import org.apache.ibatis.annotations.Param;

/**
 * 附件文件Mapper接口
 *
 * @author partner
 */
public interface SysAttachMainMapper extends IMapper<SysAttachMainVO> {

    /**
     * 更加Id批量更改
     */
    void setEntities(@Param(value = "vo" ) MechanismIds mechanismIds);

    void deleteByMechanismDTO(@Param(value = "mechanismDTO")MechanismDTO mechanismDTO);
}
